package com.talkyun.utils.http;

/**
 * @deprecated 兼容代码，不要使用。使用com.talkyun.utils.revised.http下的相应代码
 */
public class HttpNotConnectionException extends RuntimeException {
    private String url;

    public HttpNotConnectionException(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return getMessage();
    }

    @Override
    public String getMessage() {
        return "Can't connect to url " + url;
    }
}